package com.yhm.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * OrderFrom entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "order_from", catalog = "yhm_trace")
public class OrderFrom implements java.io.Serializable {

	// Fields

	private String companyNum;
	private String customNum;
	private String customType;
	private String marks;
	private String movement;
	private String num;
	private String makeTime;
	private String department;
	private String qc1;
	private String qc2;
	private String sign;

	// Constructors

	/** default constructor */
	public OrderFrom() {
	}

	/** minimal constructor */
	public OrderFrom(String companyNum) {
		this.companyNum = companyNum;
	}

	/** full constructor */
	public OrderFrom(String companyNum, String customNum, String customType,
			String marks, String movement, String num, String makeTime,
			String department, String qc1, String qc2, String sign) {
		this.companyNum = companyNum;
		this.customNum = customNum;
		this.customType = customType;
		this.marks = marks;
		this.movement = movement;
		this.num = num;
		this.makeTime = makeTime;
		this.department = department;
		this.qc1 = qc1;
		this.qc2 = qc2;
		this.sign = sign;
	}

	// Property accessors
	@Id
	@Column(name = "companyNum", unique = true, nullable = false, length = 50)
	public String getCompanyNum() {
		return this.companyNum;
	}

	public void setCompanyNum(String companyNum) {
		this.companyNum = companyNum;
	}

	@Column(name = "customNum", length = 50)
	public String getCustomNum() {
		return this.customNum;
	}

	public void setCustomNum(String customNum) {
		this.customNum = customNum;
	}

	@Column(name = "customType", length = 50)
	public String getCustomType() {
		return this.customType;
	}

	public void setCustomType(String customType) {
		this.customType = customType;
	}

	@Column(name = "marks", length = 100)
	public String getMarks() {
		return this.marks;
	}

	public void setMarks(String marks) {
		this.marks = marks;
	}

	@Column(name = "movement", length = 100)
	public String getMovement() {
		return this.movement;
	}

	public void setMovement(String movement) {
		this.movement = movement;
	}

	@Column(name = "num", length = 50)
	public String getNum() {
		return this.num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	@Column(name = "makeTime", length = 50)
	public String getMakeTime() {
		return this.makeTime;
	}

	public void setMakeTime(String makeTime) {
		this.makeTime = makeTime;
	}

	@Column(name = "department", length = 50)
	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	@Column(name = "QC1", length = 5)
	public String getQc1() {
		return this.qc1;
	}

	public void setQc1(String qc1) {
		this.qc1 = qc1;
	}

	@Column(name = "QC2", length = 5)
	public String getQc2() {
		return this.qc2;
	}

	public void setQc2(String qc2) {
		this.qc2 = qc2;
	}

	@Column(name = "sign", length = 5)
	public String getSign() {
		return this.sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

}